encoding/json.decodeState.errorContext (field)
21 uses
encoding/json (current package)
decode.go#L216: errorContext *errorContext
decode.go#L236: if d.errorContext != nil {
decode.go#L237: d.errorContext.Struct = nil
decode.go#L239: d.errorContext.FieldStack = d.errorContext.FieldStack[:0]
decode.go#L254: if d.errorContext != nil && (d.errorContext.Struct != nil || len(d.errorContext.FieldStack) > 0) {
decode.go#L257: err.Struct = d.errorContext.Struct.Name()
decode.go#L258: err.Field = strings.Join(d.errorContext.FieldStack, ".")
decode.go#L656: if d.errorContext != nil {
decode.go#L657: origErrorContext = *d.errorContext
decode.go#L722: if d.errorContext == nil {
decode.go#L723: d.errorContext = new(errorContext)
decode.go#L725: d.errorContext.FieldStack = append(d.errorContext.FieldStack, f.name)
decode.go#L726: d.errorContext.Struct = t
decode.go#L805: if d.errorContext != nil {
decode.go#L809: d.errorContext.FieldStack = d.errorContext.FieldStack[:len(origErrorContext.FieldStack)]
decode.go#L810: d.errorContext.Struct = origErrorContext.Struct
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |